package com.mnb.base.mapper;

import com.mnb.base.entity.StRiverR;

import java.util.Date;
import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface StRiverRMapper {
    int deleteByPrimaryKey(@Param("stcd") String stcd, @Param("tm") Date tm);

    int insert(StRiverR record);

    int insertSelective(StRiverR record);

    StRiverR selectByPrimaryKey(@Param("stcd") String stcd, @Param("tm") Date tm);

    int updateByPrimaryKeySelective(StRiverR record);

    int updateByPrimaryKey(StRiverR record);

    List<StRiverR> getList(StRiverR stRiverR);

    List<StRiverR> getLineData(StRiverR stRiverR);

    StRiverR getLastInfo(@Param("stcd") String stcd);

    List<StRiverR> getWtypeList(StRiverR stRiverR);
}